<template>
  <el-image style="width: 200px" :src="imgSrc" :fit="imgFit" @mousedown.prevent></el-image>
</template>

<script>
export default {
  props: ['propValue'],
  computed: {
    imgSrc() {
      return this.propValue.src
    },
    imgFit() {
      return this.propValue.fit
    }
  }
}
</script>

<style lang="less" scoped>
.el-image {
  position: absolute;
  border: 1px solid transparent;
}
</style>
